package com.cdy.jxc_project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cdy.jxc_project.domain.TMenu;
import com.cdy.jxc_project.domain.TRole;
import com.cdy.jxc_project.json.R;

import java.util.List;

/*
 * @Project:jxc_project
 * @Author:cdy(缘生)
 * @Motto:放下杂念,只为迎接明天更好的自己
 * @Date:2023/4/25 9:14
 * */
public interface TRoleService extends IService<TRole> {


    List<TRole> queryTRoleList() ;

    TRole queryTRoleId(TRole tRole);

    int deleteTRole(Integer id);

    int updateTRole(TRole tRole);

    int insertTRole(TRole tRole);

    R authToRole(Integer rid, List<Integer> mids);

    List<Integer> queryTRoleMenu(Integer id);
}
